package main

import "fmt"

type compose_person struct {
	Name string
	Age int
	Contact struct{
		Phone string
		city string
	}
}

func main() {
	a := compose_person{
		Name:"hello",
		Age:18,
	}
	a.Contact.city = "beijing"
	a.Contact.Phone = "11111"
	fmt.Println(a)
}